package com.mzkj.wanjulaile.mobile.api.modules.weChat.mapper;

import com.mzkj.wanjulaile.mobile.api.modules.weChat.entity.NotifyReturnData;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * Copyright © 2016 上海美挚网络. All rights reserved.
 *
 * @Projec: meilein
 * @Package:in.meile.print.modules.mobile.dao
 * @Description:微信支付通知Dao
 * @author:bing
 * @date:16/5/10 下午4:13
 * @version:V1.0
 */
@Repository
public interface NotifyReturnMapper {

    NotifyReturnData get(Long id);

    NotifyReturnData getByOutTradeNo(String outTradeNo);

//    List<NotifyReturnData> getByOutTradeNo(String outTradeNo);

    int insert(NotifyReturnData returnData);

    List<NotifyReturnData> getRefundNotify();

    int updateRefundStatus(NotifyReturnData notifyReturnData);
}
